// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  imports: {
    // dirs: ["stores/**/index.{ts,js,mjs,mts}"]
  },
  modules: [
    // '@pinia/nuxt'
    // '@pinia-plugin-persistedstate/nuxt'
  ],
  // plugins: [{ src: "~/plugins/toast", ssr: false }],
  // piniaPersistedstate: {
  //   cookieOptions: {
  //     maxAge: 2 * 365 * 24 * 60 * 60 * 1000
  //   },
  //   storage: 'localStorage'
  // },
  devtools: { enabled: true },
  app:{

    head: {
      link: [{
          rel: 'icon',
          type: 'image/x-icon',
          href: '/favicon.png'
      }]
      // script: [
      //     {
      //         type: 'text/javascript',
      //         src: '~/assets/js/jquery-3.6.0.min.js',
      //     },
      //     {
      //         type: 'text/javascript',
      //         src: 'js/script.js'
      //     }
      // ]
    },
  },
  css: [
    '~/assets/css/bootstrap.min.css',
    '~/assets/plugins/fontawesome/css/fontawesome.min.css',
    '~/assets/plugins/fontawesome/css/all.min.css',
    '~/assets/css/owl.carousel.min.css',
    '~/assets/css/owl.theme.default.min.css',
    '~/assets/plugins/slick/slick.css',
    '~/assets/plugins/slick/slick-theme.css',
    '~/assets/plugins/select2/css/select2.min.css',
    '~/assets/plugins/aos/aos.css',
    '~/assets/css/style.css',
    '~/assets/css/feather.css',
    '~/assets/css/toast.css'
  ]
})
